#ifndef   _DATA_OBJECT_H__
#define   _DATA_OBJECT_H__

#include "../../SimpleMathLib/Inc/vector.h"

struct Vertex3D
{
public:
	Vertex3D();
	Vertex3D(const mlVector3D&);

public:
	mlVector3D    position;
	int           color;
};

struct Triangle
{
public:
	Triangle();
public:
	Vertex3D       verts[3]; 
	int            attr;         //attrinbutes..
};

struct _3DObject
{
public:
	_3DObject();
	~_3DObject();
public:
	Triangle*  triangleList;
	int        cnt;
	int        attr;
};

struct RenderListTriangle
{
public:
	RenderListTriangle();
	~RenderListTriangle();
public:
	Triangle* trianleList;
	int       cnt;
};

struct RenderListObject
{
public:
	RenderListObject();
	~RenderListObject();
public:
	_3DObject* objectList;
	int       cnt; 
};

#endif